package com.cqemme.comm.enums;

public enum EResponseState {
	Success("Success",0),Fail("Fail",1),AuthSuccess("AuthSuccess",200),AuthFail("AuthFail",400),AuthFailToken("AuthFailToken",4),TokenExpired("TokenExpired",302),Unauthorized("Unauthorized",401),Forbidden("Forbidden",403),MethodNotAllowed("MethodNotAllowed",405),InternalServerError("InternalServerError",500);
	
	private final String m_state;
	private final int m_index;
	
	private EResponseState(String pState,int idx){
		this.m_state = pState;
		this.m_index = idx;
	}
	
	public final String getState(){
		return m_state;
	}
	
	public final int getStateIndex(){
		return m_index;
	}
}